<?php
// +----------------------------------------------------------------------
// | [ DO WHAT YOU LOVE AND FUCK THE REST ]
// +----------------------------------------------------------------------
// | Author 荒年 < 931274989@qq.com >
// +----------------------------------------------------------------------
// | Explain 系统菜单验证
// +----------------------------------------------------------------------
namespace app\admin\validate;

class Rule extends BaseValidate
{
  protected $rule = [
    'title' => 'require',
    'name' => 'require|unique:auth_rule',
  ];

  protected $message = [
    'title.require' => '菜单名称不能为空',
    'name.require' => '控制器/方法不能为空',
    'name.unique' => '控制器/方法不能重复',
  ];

}
?>